﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/ControlPanel.Master" AutoEventWireup="true" CodeBehind="AdminDetails.aspx.cs" Inherits="intecnologia.Admin.AdminDetails" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <br /><br />
    <center>
        <h2>Datos de la cuenta de Administrador</h2>
        <asp:Panel ID="ChangePasswordPanel" runat="server" CssClass="mid_content">
            <center>
                <h2>Cambiar contraseña</h2>
                
                <asp:Label ID="lblChangePassError" runat="server" 
                    Text="" Visible="False" 
                    Font-Bold="True" ForeColor="#FF3300" ></asp:Label>                     
            </center>
            <table>
                <tr>
                    <td><span class="bold_header">Contraseña antigua:</span></td>
                    <td><asp:TextBox ID="tbOldPassword" runat="server" Width="178px" TextMode="Password"></asp:TextBox></td>
                    <td><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="tbOldPassword"></asp:RequiredFieldValidator></td> 
                </tr>
                <tr>
                    <td><span class="bold_header">Contraseña nueva:</span></td>
                    <td><asp:TextBox ID="tbNewPassword" runat="server" Width="178px" TextMode="Password"></asp:TextBox></td>
                    <td><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" ControlToValidate="tbNewPassword"></asp:RequiredFieldValidator></td>
                </tr>
              
                <tr>
                    <td><span class="bold_header">Confirme contraseña:</span></td>
                    <td><asp:TextBox ID="tbConfirmPassword" runat="server" Width="178px" TextMode="Password"></asp:TextBox></td>
                    <td><asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*" ControlToValidate="tbConfirmPassword"></asp:RequiredFieldValidator></td>
                </tr> 
                
            </table>
            <br />

            <center>
           
                <asp:Button ID="btnChangePassword" runat="server" Text="Cambiar" 
                    CssClass="boton" onclick="btnChangePassword_Click" 
                        />
                <asp:Button ID="btnExit" runat="server" CssClass="boton" Text="Cancelar" 
                        CausesValidation="False" onclick="btnExit_Click"/>    
            </center>
            
            
        </asp:Panel>
    </center>
</asp:Content>
